﻿namespace D.Domain.SystemDomain.SysAdminDomain.Entities
{
    /// <summary>
    /// 角色和权限关系，多对多
    /// </summary>
    public record SysRoleAndPermissionEntity 
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        public Guid SysRoleId { get; init; }

        /// <summary>
        /// 权限ID
        /// </summary>
        public Guid SysPermissionId { get; init; }
    }
}
